package top.infopub.mgr.sg.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.sg.dao.CitySurveyLogDao;
import top.infopub.mgr.sg.service.CitySurveyLogService;
import top.infopub.model.sg.CitySurveyLog;


@Service
public class CitySurveyLogServiceImpl extends GenericServiceImpl<CitySurveyLog, String> implements CitySurveyLogService {

    @Autowired
    private CitySurveyLogDao citySurveyLogDao;

    @Override
    public GenericDao<CitySurveyLog, String> getDao() {
        return citySurveyLogDao;
    }

    @Override
    public List<CitySurveyLog> selectByCitySurveyId(String citySurveyId) {
        List<CitySurveyLog> citySurveyLogs = citySurveyLogDao.selectByCitySurveyId(citySurveyId);
        return citySurveyLogs;
    }

}